package cn.zjyj.module.zjyj.controller.admin.risklevelconf.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.zjyj.framework.common.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.zjyj.framework.common.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 风险等级配置分页 Request VO")
@Data
public class RiskLevelConfPageReqVO extends PageParam {

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "风险类型（1:作业类，2:设备类，3:环境类，4公共类）", example = "1")
    private Integer riskType;

    @Schema(description = "低风险最小值")
    private Double lowLevelMinValue;

    @Schema(description = "低风险最大值")
    private Double lowLevelMaxValue;

    @Schema(description = "一般风险最小值")
    private Double generalLevelMinValue;

    @Schema(description = "一般风险最大值")
    private Double generalLevelMaxValue;

    @Schema(description = "较大风险最小值")
    private Double largerLevelMinValue;

    @Schema(description = "较大风险最大值")
    private Double largerLevelMaxValue;

    @Schema(description = "重大风险最小值")
    private Double majorLevelMinValue;

    @Schema(description = "重大风险最大值")
    private Double majorLevelMaxValue;

}